As part of making that step more transparent, I've been working on method for Programming in Mathematical Notation (works best with MathML capable browser).
The program takes a content MathML file as input and outputs a presentation MathML file for nicely rendered display in the browser, and a C++ file to compile and run.
[Edit 2/24/2007 - update link to example]